import request from '@/utils/request'

// 保存同步设置
export function save(data) {
  return request({
    url: '/order/thirdOrderConfig/save',
    method: 'post',
    data: data
  })
}

// 获取第三方订单同步设置
export function getByCondition(query) {
  return request({
    url: '/order/thirdOrderConfig/getByCondition',
    method: 'get',
    params: query
  })
}
